﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Logistics_Management_System.Objects;

namespace Logistics_Management_System.Billing
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IBill_Service" in both code and config file together.
    [ServiceContract]
    public interface IBill_Service
    {
        [OperationContract]
        List<LG_Bill> GetAllBill();

        [OperationContract]
        ReturnBool AddNewBill(LG_Bill bill);

        [OperationContract]
        ReturnBool EditInfoBill(int bill_id, LG_Bill updated_bill);

        [OperationContract]
        ReturnBool RemoveBill(int bill_id);
    }
}
